package oving9;

import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;



public class HighscoreList extends ObservableList  implements Iterable<Comparable> {
	int maxSize;
	List<Comparable> results = new ArrayList<Comparable>();
	public HighscoreList(int size){
		super();
		maxSize=size;
	}

	@Override
	protected List getList() {
		return results;
	}
	
	@Override
	public Iterator<Comparable> iterator() {
		if(results!=null){
			return results.iterator();
		}
		return null;
	}
	public void addResult(Comparable res){
	}

}
	
